package com.woniuxy.servcie;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.RbacRole;

import java.util.List;

/**
 * @author 佘赛飞
 * @create 2021-11-26 12:28 上午
 */
public interface RbacRoleService {
    RbacRole findOneRbacRole(int id);
    //查询所有用户
    List <RbacRole> findAllRbacRole(RbacManager rbacManager);
    void addRbacRole(RbacRole rbacRole);
    //更新
    Integer UpRbacRole(RbacRole rbacRole);
    //删除
    void deleteRbacRole(RbacRole rbacRole);
    //分页
    List<RbacRole>FindAllAndPaginationRbacRole();
}
